package com.seres.frontend;

import com.seres.data.Answer;

import javafx.scene.control.RadioButton;

public class AnswerButton extends RadioButton {
	private Answer answer;
	
	public AnswerButton(Answer answer){
		super(answer.getFullDescription());
		setAnswer(answer);
	}

	public Answer getAnswer() {
		return answer;
	}

	public void setAnswer(Answer answer) {
		this.answer = answer;
	}
}
